package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicOrganization;

import java.io.Serializable;

@ApiModel("BasicConfig")
@Table("basic_config")
public class BasicConfig implements Serializable {

    @ApiModelProperty(value = "短信开关", name = "msgFlag")
    @Column(value = "msg_flag", text = "短信开关", maxLength = 5)
    private String msgFlag;


    @ApiModelProperty(value = "登录验证码开关", name = "loginVerificationFlag")
    @Column(value = "login_verification_flag", text = "登录验证码开关", maxLength = 5)
    private String loginVerificationFlag;


    @ApiModelProperty(value = "域名", name = "demainName")
    @Column(value = "demain_name", text = "域名", maxLength = 125)
    private String demainName;


    @ApiModelProperty(value = "主页logo", name = "mainLogo")
    @Column(value = "main_logo", text = "主页logo", maxLength = 1073741823)
    private String mainLogo;


    @ApiModelProperty(value = "上传图片大小(MB)", name = "imgFileSize")
    @Column(value = "img_file_size", text = "上传图片大小(MB)", maxLength = 5)
    private Double imgFileSize;


    @ApiModelProperty(value = "系统名称", name = "sysName")
    @Column(value = "sys_name", text = "系统名称", maxLength = 150)
    private String sysName;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "邮件开关", name = "emailFlag")
    @Column(value = "email_flag", text = "邮件开关", maxLength = 5)
    private String emailFlag;


    @ApiModelProperty(value = "是否默认", name = "isDefault")
    @Column(value = "is_default", text = "是否默认", maxLength = 5)
    private String isDefault;


    @ApiModelProperty(value = "企业域Id", name = "organId")
    @Column(value = "organ_id", text = "企业域Id", maxLength = 32)
    private BasicOrganization organId;

    public String getMsgFlag() {
        return msgFlag;
    }

    public void setMsgFlag(String msgFlag) {
        this.msgFlag = msgFlag;
    }

    public String getLoginVerificationFlag() {
        return loginVerificationFlag;
    }

    public void setLoginVerificationFlag(String loginVerificationFlag) {
        this.loginVerificationFlag = loginVerificationFlag;
    }

    public String getDemainName() {
        return demainName;
    }

    public void setDemainName(String demainName) {
        this.demainName = demainName;
    }

    public String getMainLogo() {
        return mainLogo;
    }

    public void setMainLogo(String mainLogo) {
        this.mainLogo = mainLogo;
    }

    public Double getImgFileSize() {
        return imgFileSize;
    }

    public void setImgFileSize(Double imgFileSize) {
        this.imgFileSize = imgFileSize;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEmailFlag() {
        return emailFlag;
    }

    public void setEmailFlag(String emailFlag) {
        this.emailFlag = emailFlag;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public BasicOrganization getOrganId() {
        return organId;
    }

    public void setOrganId(BasicOrganization organId) {
        this.organId = organId;
    }
}
